#lang-toggle {
    background: linear-gradient(45deg, #4f1919, #ff3333);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#lang-toggle:hover {
    background: linear-gradient(45deg, #ff4444, #ff6666);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

#lang-toggle:active {
    transform: scale(0.97);
}




body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}


body[dir="rtl"] .bar {

    flex-direction: row-reverse;
}

body[dir="rtl"] nav {
    flex-direction: row-reverse;
    justify-content: center;
}


body[dir="rtl"] nav span {
    left: 0;
    right: auto;
}

body[dir="rtl"] nav a:nth-child(1):hover~span {
    left: 0;
    width: 110px;
}

body[dir="rtl"] nav a:nth-child(2):hover~span {
    left: 95px;
    width: 115px;
}

body[dir="rtl"] nav a:nth-child(3):hover~span {
    left: 189px;
    width: 110px;
}

body[dir="rtl"] nav a:nth-child(4):hover~span {
    left: 289px;
}

body[dir="rtl"] nav a:nth-child(5):hover~span {
    left: 413px;
}


[dir="rtl"] #lang-toggle {
    float: left;
}

body {
    padding-left: 50px;
    padding-right: 50px;

    background-image: url('kreuzz.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-left: 50px;
    padding-right: 50px;
}


.bar {
    position: relative;
    display: flex;
    flex-direction: row;

    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.logo {

    width: 200px;
    height: auto;
    display: flex;
    justify-content: center;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.haupt-titel {
    margin-top: -10%;
    color: #250902;
    text-align: center;
}
/* Deutsch */
html[lang="de"] .haupt-titel {
    font-family: "Momo Signature", cursive;
}

/* Arabisch */
html[lang="ar"] .haupt-titel {
    font-family: "Cairo", "Amiri", sans-serif;
    direction: rtl;
}
nav {

    position: relative;
    justify-content: space-between;
    box-shadow: 7px 4px 4px gray;
    top: -25px;
    width: 524px;
    height: 50px;
    background: #737171;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;

}

nav a {
    position: relative;
    display: inline-block;
    font-size: 1em;
    font-weight: 500;
    color: #eee;
    text-decoration: none;
    padding: 0 30px;
    z-index: 1;
}

nav span {
    position: absolute;
    top: 0;
    left: 0;
    width: 95px;
    height: 100%;
    background: linear-gradient(45deg, #4f1919, #ff3333);
    border-radius: 8px;
    transition: .5s;
}

nav a:nth-child(1):hover~span {
    left: 0;
}

nav a:nth-child(2):hover~span {
    left: 95px;
}

nav a:nth-child(3):hover~span {
    left: 189px;
    width: 110px;
}

nav a:nth-child(4):hover~span {
    left: 289px;
    width: 115px;
}

nav a:nth-child(5):hover~span {
    left: 413px;
    width: 110px;
}






.bilder {
    padding-top: 2%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;

}

.Jugendliche,
.fest,
.mo2tamar {

    width: 30%;
    height: 20vw;
    overflow: hidden;
    border-radius: 40% 60% 70% 30% / 50% 50% 60% 40%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.Jugendliche img,
.fest img,
.mo2tamar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.bocholt {
    text-align: center;
    font-size: x-large;
    font-weight: bold;
    text-align: center;
    padding: 2%;
    padding-left: 10%;
    padding-right: 10%;

}

.bocholt h2 {
    font-family: 'Georgia', serif;
    color: #38040e;
    ;
    padding-bottom: 10px;
    margin-top: 0;
    border-bottom: 3px solid #38040e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.bocholt h3 {
    color: #640d14;
}


.Geschichte {
    font-size: x-large;
    font-weight: bold;
    text-align: center;
    padding: 2%;
    padding-left: 10%;
    padding-right: 10%;
}

.Geschichte h2 {
    font-family: 'Georgia', serif;
    color: #38040e;
    padding-bottom: 10px;
    margin-top: 0;
    border-bottom: 3px solid #38040e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.Geschichte h3 {
    color: #640d14;
    margin-top: 30px;
    padding-left: 10px;
}


.Geschichte p {
    margin-bottom: 15px;

}


.Geschichte ul {
    list-style-type: none;
    padding-left: 0;
    text-align: justify;
}

.Geschichte ul li {
    padding-left: 1.5em;
    text-indent: -1.5em;
}

.Geschichte ul li::before {
    content: "•";
    color: #640d14;
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-left: 0;
}



.Die-Koptische-Kirche-in-Deutschland {
    font-size: x-large;
    font-weight: bold;
    text-align: center;
    padding: 2%;
    padding-left: 10%;
    padding-right: 10%;
}

.Die-Koptische-Kirche-in-Deutschland h2 {
    font-family: 'Georgia', serif;
    color: #38040e;
    padding-bottom: 10px;
    margin-top: 0;
    border-bottom: 3px solid #38040e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.Die-Koptische-Kirche-in-Deutschland h3 {
    color: #640d14;
    margin-top: 30px;
    padding-left: 10px;
}


.Die-Koptische-Kirche-in-Deutschland p {
    margin-bottom: 15px;

}


.Die-Koptische-Kirche-in-Deutschland ul {
    list-style-type: none;
    padding-left: 0;
    text-align: justify;
}

.Die-Koptische-Kirche-in-Deutschland ul li {
    padding-left: 1.5em;
    text-indent: -1.5em;
}

.Die-Koptische-Kirche-in-Deutschland ul li::before {
    content: "•";
    color: #640d14;
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-left: 0;
}


a {
    text-decoration: none;
    color: black;

    transition: color 0.3s ease;

    position: relative;
    display: inline-block;
}


.footer-content a:hover {
    color: #f18930;
}





footer {
    background: #737171;
    padding-top: 50px;
    margin-bottom: 0;
    margin-left: -50px;
    margin-right: -50px;
    border-radius: 50% 50% 0 0 / 100px 100px 0 0;
}

.container {
    max-width: 1140px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-content {
    width: 33.3%;
}

h3 {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
    color: white;
}

.footer-content p {
    width: 190px;
    margin: auto;
    padding: 7px;
    color: #eee;
}

.footer-content ul {
    text-align: center;

    padding: 0;
}

.list {
    padding: 0;
}

.list li {
    width: auto;
    list-style-type: none;
    padding: 7px;
    position: relative;
    text-align: center;
}


.footer-content a::before {
    content: '';
    position: absolute;

    transform: translateX(-50%);
    left: 50%;
    top: 100%;

    width: 0;
    height: 2px;
    background: #f18930;
    transition: width .5s ease;
}


.footer-content a:hover::before {
    width: 70px;
}




.social-icons {
    text-align: center;
    padding: 0;
}

.social-icons li {
    display: block;
    text-align: center;
    padding: 5px;
    position: relative;
    margin: 5px 0;
}

.social-icons i {
    color: white;
    font-size: 25px;
    transition: color 0.3s ease;
}

.social-icons a:hover i {
    color: #f18930;
}

.social-icons a::before {
    display: none;
}




.bottom-bar {
    background: #f18930;
    text-align: center;
    padding: 10px 0;
    margin-top: 50px;
}

.bottom-bar p {
    color: #ffffff;
    margin: 0;
    font-size: 16px;
    padding: 7px;
}

@media  (max-width: 750px) {

#lang-toggle {
        float: none !important;
        margin: 10px auto 20px auto !important;
        display: block;
        text-align: center;
    }

     [dir="rtl"] #lang-toggle {
        float: none !important;
        margin: 10px auto 20px auto !important;
        display: block;
        text-align: center;
    }


    body {

        padding-left: 10px;
        padding-right: 10px;
    }


    .bar {

        flex-direction: column;
        gap: 10px;
        padding-top: 10px;
    }


    .logo {

        width: 100%;
        max-width: 120px;
        margin: 0 auto;
    }


    .haupt-titel {

        flex-grow: 0;
        width: 100%;
        padding-top: 30px;
    }





    nav {
       position: static;
        width: 100%;
        padding: 10px 0;
        flex-wrap: wrap;
    }


    nav a {
        padding: 8px 5px;
        flex-grow: 1;
        font-size: 0.9em;
        text-align: center;
    }

    nav span {
        display: none;
    }


    footer {
        margin-left: 0;
        margin-right: 0;
        border-radius: 50px 50px 0 0;
    }

    .container {
        flex-direction: column;
        gap: 30px;
        padding: 0 10px;
    }

    .footer-content {
        width: 100%;
        text-align: center;
    }

    .footer-content p {
        width: auto;
    }

}